<?php

require_once(APPPATH.'models/component.php');

class pw_checkbox_group extends Component
{
    public $id          = 'pw_checkbox_group';
	public $title       = 'Checkbox Group';
	public $description = 'A dinamically generated checkbox group';
	public $keywords    = 'checkbox group form';

    public $attributes = array(
    	'div_class' => array(
            'id'      => 'div_class',
            'example' => 'pw-checkbox-group'
        ),
        'tag' => array(
            'id'      => 'tag',
            'example' => 'legend'
        ),
        'group_title' => array(
            'id'      => 'group_title',
            'example' => 'Check some'
        ),
        'from' => array(
            'id'      => 'from',
            'example' => ''
        ),
        'item' => array(
            'id'      => 'item',
            'example' => ''
        ),
        'input_name' => array(
            'id'      => 'input_name',
            'example' => 'checkboxes'
        ),
        'input_value' => array(
            'id'      => 'input_value',
            'example' => '1'
        ),
        'checked_condition' => array(
            'id'      => 'checked_condition',
            'example' => 'false'
        ),
        'label' => array(
            'id'      => 'label',
            'example' => 'checkbox'
        )
    );

} // class pw_checkbox_group

/* End of file pw_checkbox_group.class.php */
/* Location: ./components/pw_checkbox_group/pw_checkbox_group.class.php */